import numpy as np

f = open("../file/test.txt")
feature_names = f.readline().split()
data = np.loadtxt(f)

X = data[:, 1:]  # select columns 1 through end
X = data[:, -1:]  # select columns 1 through end
print X.shape
print X [:10]
y = data[:, 0]
print y.shape  
print feature_names